home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Games Machine 75
/
XENIATGM75.iso
/
Shareware
/
X-Setup 5.0
/
_SETUP.1
/
XQ CoolSwitch Enabled.xpl
< prev
next >
Wrap
Text File
|
1999-06-11
|
1KB
|
50 lines
"FILE"="Xteq Systems X-Setup Plugin 3.1"
"TYPE"="6"
"COUNT"="1"
"UIPATH"="Appearance\General\Cool Switch"
"NAME"="Cool Switch Disabled"
"LANGUAGE"="VBScript"
"TEXT 1"="Disable Cool Switch"
"DESCRIPTION 1"="If you press ALT+TAB, you perform a so called "Cool Switch"."
"DESCRIPTION 2"="If this option is enabled, the current user is no longer able to use Cool Switch."
"DESCRIPTION 3"="Note: It seems this setting has now effect if you are using IE 4.0 and above."
"AUTHOR"="Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
"COMMENT 2"="Version 1.31"
sPath="HKEY_CURRENT_USER\Control Panel\Desktop\CoolSwitch"
Sub Plugin_Initialize
if GetWinVer=2 then
i=RegReadValue(sPath)
if IsEmpty(i)=false then
If i=0 then Call SetUIElement(1,true)
end if
else
Disable
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
b=GetUIElement(1)
if b=true then
Call RegWriteValue(sPath,"0",1)
else
Call RegWriteValue(sPath,"1",1)
end if
Restart
End Sub
Sub Plugin_Terminate
End Sub